package io.yunho.yunho.interview.two.java8.stream;

/**
 * Created by Administrator on 2020/1/19.
 */
public class PirzeNotIn {
    private String num;
    private int times=0;

    public PirzeNotIn(String num, int times) {
        this.num = num;
        this.times = times;
    }

    public PirzeNotIn() {
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
        times++;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    @Override
    public String toString() {
        return "jdk8.PirzeNotIn{" +
                "num='" + num + '\'' +
                ", times=" + times +
                '}';
    }
}
